﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Model;
using ZBJF.Warranty.Model.ViewModel.InsuranceProducts;

namespace ZBJF.Warranty.IBLL
{
    public partial interface IInsuranceProductWarrantyMaintenanceTypesService
    {
        ///// <summary>
        ///// 根据保险产品iD 和维修方式Id，且排除InsuranceProductWarrantyMaintenanceTypesID判断是否存在相同数据
        ///// </summary>
        ///// <param name="ID">保险产品iD</param>
        ///// <param name="yID">维修方式iD</param>
        ///// <param name="id">InsuranceProductWarrantyMaintenanceTypesID</param>
        ///// <returns></returns>
        //bool IsExist(int ID, int yID, long id = 0);

        /// <summary>
        /// 获取保险产品的服务项目可维修方式
        /// </summary>
        /// <param name="cellPhoneServiceProjectID">手机维修服务项目ID</param>
        /// <returns></returns>
        IQueryable<InsuranceProductWarrantyMaintenanceTypes> GetInsuranceProductWarrantyMaintenanceTypesAll(int cellPhoneServiceProjectID);
        IQueryable<InsuranceProductWarrantyMaintenanceTypes> GetInsuranceProductWarrantyMaintenanceTypeList(List<int> cellPhoneServiceProjectIDs);
    }
}
